package com.zs.controller;

import com.zs.service.IHelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * Description:
 *
 * @author: zsq-1186
 * Date: 2017-08-11-13:07
 */
@RestController
public class HelloController {

    @Autowired
    IHelloService helloService;
    @RequestMapping(value = "/hi")
    public String hi(@RequestParam String name){
        return helloService.sayHiFromClientOne(name);
    }
}
